var username = "Guaguaerhao";
var timeStamp = Date.parse(new Date());
var jsonDatabase={"loginName": username, "loginTime": timeStamp};
var db = connect("log");    // use log
db.login.insert(jsonDatabase);

print("[demo]: log print success");
